.editor {
  position: relative;
  width: 100%;
  height: 100%;

  .map {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
  }

  .search {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 99;
  }
}

.admin {
  .statistics {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;

    .card-panel {
      display: flex;
      justify-content: space-around;
      align-items: center;
      width: 23%;
      height: 108px;
      background-color: #fff;
      cursor: pointer;

      .icon-wrap {
        width: 80px;
        height: 80px;
        text-align: center;
        line-height: 80px;
        border-radius: 5px;
        font-size: 48px;
        transition: all .5s;
      }

      .description {
        .title {
          font-size: 16px;
          font-weight: 700;
          color: #8c8c8c;
          opacity: .8;
        }

        .num {
          font-size: 20px;
          font-weight: 700;
          color: #666;
        }
      }
    }

    .card-panel:nth-child(1) {
      .icon-wrap {
        color: #40c9c6;
      }
    }

    .card-panel:nth-child(1):hover {
      .icon-wrap {
        background-color: #40c9c6;
        color: #fff;
      }
    }

    .card-panel:nth-child(2) {
      .icon-wrap {
        color: #36a3f7;
      }
    }

    .card-panel:nth-child(2):hover {
      .icon-wrap {
        background-color: #36a3f7;
        color: #fff;
      }
    }

    .card-panel:nth-child(3) {
      .icon-wrap {
        color: #f4516c;
      }
    }

    .card-panel:nth-child(3):hover {
      .icon-wrap {
        background-color: #f4516c;
        color: #fff;
      }
    }

    .card-panel:nth-child(4) {
      .icon-wrap {
        color: #34bfa3;
      }
    }

    .card-panel:nth-child(4):hover {
      .icon-wrap {
        background-color: #34bfa3;
        color: #fff;
      }
    }
  }

  .lineChart {
    height: 350px;
    margin-bottom: 20px;

    &>.line {
      &>div:first-child {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;

        &>canvas {
          width: 100% !important;
          height: 100% !important;
          margin: 0 !important;
        }
      }
    }
  }

  .charts {
    display: flex;
    justify-content: space-between;
    align-items: center;

    &>div {
      flex: 1;
      height: 350px;

      &>div {
        &>div:first-child {
          width: 100% !important;
          height: 100% !important;
          margin: 0 !important;

          &>canvas {
            width: 100% !important;
            height: 100% !important;
            margin: 0 !important;
          }
        }
      }
    }

    &>div:nth-child(-n+2) {
      margin-right: 20px;
    }
  }
}